package vn.evolus.pencil.viewmodel;

import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "Collections")
public class ItemCollections {
	private List<CollectionViewModel> itemCollections;
	private int start = 0;
	private int max = 0;

	public List<CollectionViewModel> getItemCollections() {
		return itemCollections;
	}
	@XmlElement(name = "Collection")
	public void setItemCollections(List<CollectionViewModel> itemCollections) {
		this.itemCollections = itemCollections;
	}
	
	public int getStart() {
		return this.start;
	}
	
	@XmlAttribute
	public void setStart(int start) {
		this.start = start;
	}
	
	public int getMax() {
		return this.max;
	}
	
	@XmlAttribute
	public void setMax(int max) {
		this.max = max;
	}
}
